Skip to content

RDSC-3619: Remapping the output #1662

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ilianiliev-redis
Copy link
Contributor

Copy link
Contributor

@andy-stark-redis andy-stark-redis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few suggestions, but otherwise LGTM.

`firstname` and `lastname` fields, with `lastname` converted to uppercase.
In the `contact` subobject, the `email` address is obfuscated slightly, using the
`replace()` function to hide the '@' sign and dots.
transformation. Take a look at the following examples to see how to use the `map` transformation:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
transformation. Take a look at the following examples to see how to use the `map` transformation:
transformation, as described in the following sections.

Comment on lines +75 to +76
In the `output` section of the job file, we specify that we want to write
to a JSON object with a custom key. Note that in the `output` section, you must refer to
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know I originally wrote this, but I've since learned that it's recommended to avoid the word "we" in our docs, even for tutorial-style content.

Suggested change
In the `output` section of the job file, we specify that we want to write
to a JSON object with a custom key. Note that in the `output` section, you must refer to
The `output` section of the file configures the job to write
to a JSON object with a custom key. Note that in the `output` section, you must refer to

weight: 40
---

Sometimes, you may want to remap the fields in the output of a data pipeline. This can be done by defining a `mapping` section in the output configuration.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Sometimes, you may want to remap the fields in the output of a data pipeline. This can be done by defining a `mapping` section in the output configuration.
Sometimes, you may want to remap the fields in the output of a data pipeline. You can do this by defining a `mapping` section in the output configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants